package cn.bdqn.consumer1.feign;

import cn.bdqn.consumer1.pojo.UserInfo;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class HelloFeignFallBack implements HelloFeign {
    @Override
    public String hello(String uname, Integer age) {
        return "来自consumer1的备份,端口号1712";
    }

    @Override
    public UserInfo doLogin(UserInfo userInfo) {
        return null;
    }

    @Override
    public int updateUser(UserInfo userInfo) {
        return 0;
    }

    @Override
    public boolean doLogin2(Map map) {
        return false;
    }
}
